﻿using System.Data.Linq.Mapping;

namespace vurfu.DataContracts
{
    [Table(Name = "dbo.Ratings")]
    public class Ratings
    {
        [Column(Name = "Id", DbType = "UniqueIdentifier NOT NULL", IsPrimaryKey = true)]
        public string Id { get; set; }

        [Column(Name = "Trust", DbType = "Float(53) NOT NULL", CanBeNull = false)]
        public double Trust { get; set; }

        [Column(Name = "Emotional", DbType = "Float(53) NOT NULL", CanBeNull = false)]
        public double Emotional { get; set; }

        [Column(Name = "Quality", DbType = "Float(53) NOT NULL", CanBeNull = false)]
        public double Quality { get; set; }

        [Column(Name = "Authority", DbType = "Float(53)", CanBeNull = true)]
        public double Authority { get; set; }
    }
}